<?php /* Smarty version 2.6.21, created on 2012-12-04 16:21:02
         compiled from select_tables.tpl.html */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Select Tables</title>

<link href="my.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div align="center">
<form id="form1" name="form1" method="post" action="arrangeTables.php">

  <table width="197" border="1">
    <tr>
        <td>&nbsp;</td>
      <td width="187" align="center">Table Select</td>
    </tr>
  <?php unset($this->_sections['outer']);
$this->_sections['outer']['name'] = 'outer';
$this->_sections['outer']['loop'] = is_array($_loop=$this->_tpl_vars['TableNames']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['outer']['show'] = true;
$this->_sections['outer']['max'] = $this->_sections['outer']['loop'];
$this->_sections['outer']['step'] = 1;
$this->_sections['outer']['start'] = $this->_sections['outer']['step'] > 0 ? 0 : $this->_sections['outer']['loop']-1;
if ($this->_sections['outer']['show']) {
    $this->_sections['outer']['total'] = $this->_sections['outer']['loop'];
    if ($this->_sections['outer']['total'] == 0)
        $this->_sections['outer']['show'] = false;
} else
    $this->_sections['outer']['total'] = 0;
if ($this->_sections['outer']['show']):

            for ($this->_sections['outer']['index'] = $this->_sections['outer']['start'], $this->_sections['outer']['iteration'] = 1;
                 $this->_sections['outer']['iteration'] <= $this->_sections['outer']['total'];
                 $this->_sections['outer']['index'] += $this->_sections['outer']['step'], $this->_sections['outer']['iteration']++):
$this->_sections['outer']['rownum'] = $this->_sections['outer']['iteration'];
$this->_sections['outer']['index_prev'] = $this->_sections['outer']['index'] - $this->_sections['outer']['step'];
$this->_sections['outer']['index_next'] = $this->_sections['outer']['index'] + $this->_sections['outer']['step'];
$this->_sections['outer']['first']      = ($this->_sections['outer']['iteration'] == 1);
$this->_sections['outer']['last']       = ($this->_sections['outer']['iteration'] == $this->_sections['outer']['total']);
?>
  <tr>
      <td><label>
        <input type="checkbox" name="mTableName<?php echo $this->_sections['outer']['index']; ?>
" value="<?php echo $this->_tpl_vars['TableNames'][$this->_sections['outer']['index']]; ?>
"	/>
      </label></td>
    <td align="center"  class="<?php if ((1 & $this->_sections['outer']['index'])): ?>oddLine <?php else: ?>evenLine<?php endif; ?>"><a href="arrangeTables.php?mTableName0=<?php echo $this->_tpl_vars['TableNames'][$this->_sections['outer']['index']]; ?>
&totalTableSize=1"><?php echo $this->_tpl_vars['TableNames'][$this->_sections['outer']['index']]; ?>
</a></td>
  </tr>
  <?php endfor; else: ?>
    
  <?php endif; ?>
  	
  </table>
  Extra Table Size:
      <input name="exTSize" type="text" id="exTSize" value="0" />
  
    <label>
      <input type="submit" name="button" id="button" value="Submit" />
    </label>
  
  <input name="totalTableSize" type="hidden" value="<?php echo $this->_tpl_vars['tableSize']; ?>
" />
</form>
&nbsp;
&nbsp;
</div>
<br />
<br /></body>
</html>